package net.biz.shiro;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.apache.shiro.web.filter.authc.LogoutFilter;

/**
 * 重写后台注销跳转
 * @Description: 
 * @ClassName: com.home766.shiro.OverrideLogout
 * @date: 2016年1月5日 下午2:00:17 
 *
 */

public class OverrideLogout extends LogoutFilter{

	@Override
	protected boolean preHandle(ServletRequest request, ServletResponse response) throws Exception {
		return super.preHandle(request, response);
	}

	@Override
	protected void issueRedirect(ServletRequest request,ServletResponse response, String redirectUrl) throws Exception {
		super.issueRedirect(request, response, "/admin/index.jsp");
	}

}
